package com.shj.entity;

public class SysFamily {
    private String famicode;

    private String town;

    private String village;

    private String groupno;

    private String perscode;

    private String housepro;

    private Integer popunum;

    private Integer agrinum;

    private String address;

    private String creattime;

    private String creator;

    private SysPerson holder;

    public SysFamily(String famicode, String town, String village, String groupno, String perscode, String housepro, Integer popunum, Integer agrinum, String address, String creattime, String creator, SysPerson holder) {
        this.famicode = famicode;
        this.town = town;
        this.village = village;
        this.groupno = groupno;
        this.perscode = perscode;
        this.housepro = housepro;
        this.popunum = popunum;
        this.agrinum = agrinum;
        this.address = address;
        this.creattime = creattime;
        this.creator = creator;
        this.holder = holder;
    }

    public SysFamily() {
        super();
    }

    public String getFamicode() {
        return famicode;
    }

    public void setFamicode(String famicode) {
        this.famicode = famicode == null ? null : famicode.trim();
    }

    public String getTown() {
        return town;
    }

    public void setTown(String town) {
        this.town = town == null ? null : town.trim();
    }

    public String getVillage() {
        return village;
    }

    public void setVillage(String village) {
        this.village = village == null ? null : village.trim();
    }

    public String getGroupno() {
        return groupno;
    }

    public void setGroupno(String groupno) {
        this.groupno = groupno == null ? null : groupno.trim();
    }

    public String getPerscode() {
        return perscode;
    }

    public void setPerscode(String perscode) {
        this.perscode = perscode == null ? null : perscode.trim();
    }

    public String getHousepro() {
        return housepro;
    }

    public void setHousepro(String housepro) {
        this.housepro = housepro == null ? null : housepro.trim();
    }

    public Integer getPopunum() {
        return popunum;
    }

    public void setPopunum(Integer popunum) {
        this.popunum = popunum;
    }

    public Integer getAgrinum() {
        return agrinum;
    }

    public void setAgrinum(Integer agrinum) {
        this.agrinum = agrinum;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address == null ? null : address.trim();
    }

    public String getCreattime() {
        return creattime;
    }

    public void setCreattime(String creattime) {
        this.creattime = creattime;
    }

    public String getCreator() {
        return creator;
    }

    public void setCreator(String creator) {
        this.creator = creator == null ? null : creator.trim();
    }

    public SysPerson getHolder() { return holder; }

    public void setHolder(SysPerson holder) { this.holder = holder; }
}